package com.qiche.mapper;

import com.qiche.common.MyMapper;
import com.qiche.model.Role;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface RoleMapper extends MyMapper<Role> {
     List<Role> queryRoleListWithSelected(Integer id);
     List<Role> queryAdminRoleListWithSelected(Integer id);

     Role queryRoleByUserId(Integer id);
}